{
  "sources": {
    "cluster_logging_config/testsource:baar": {
      "type": "kubernetes_logs",
      "extra_label_selector": "aaaa=bbbb,baz in (norf,qux),log-shipper.deckhouse.io/exclude notin (true)",
      "extra_field_selector": "metadata.namespace=baar,metadata.name!=$VECTOR_SELF_POD_NAME",
      "extra_namespace_label_selector": "log-shipper.deckhouse.io/exclude notin (true)",
      "annotation_fields": {
        "container_image": "image",
        "container_name": "container",
        "pod_ip": "pod_ip",
        "pod_labels": "pod_labels",
        "pod_name": "pod",
        "pod_namespace": "namespace",
        "pod_node_name": "node",
        "pod_owner": "pod_owner"
      },
      "node_annotation_fields": {
        "node_labels": "node_labels"
      },
      "glob_minimum_cooldown_ms": 1000,
      "use_apiserver_cache": true
    },
    "cluster_logging_config/testsource:foot": {
      "type": "kubernetes_logs",
      "extra_label_selector": "aaaa=bbbb,baz in (norf,qux),log-shipper.deckhouse.io/exclude notin (true)",
      "extra_field_selector": "metadata.namespace=foot,metadata.name!=$VECTOR_SELF_POD_NAME",
      "extra_namespace_label_selector": "log-shipper.deckhouse.io/exclude notin (true)",
      "annotation_fields": {
        "container_image": "image",
        "container_name": "container",
        "pod_ip": "pod_ip",
        "pod_labels": "pod_labels",
        "pod_name": "pod",
        "pod_namespace": "namespace",
        "pod_node_name": "node",
        "pod_owner": "pod_owner"
      },
      "node_annotation_fields": {
        "node_labels": "node_labels"
      },
      "glob_minimum_cooldown_ms": 1000,
      "use_apiserver_cache": true
    }
  },
  "sinks": {
    "destination/cluster/testoutput": {
      "type": "socket",
      "inputs": [
        "cluster_logging_config/testsource:baar",
        "cluster_logging_config/testsource:foot"
      ],
      "healthcheck": {
        "enabled": false
      },
      "buffer": {
        "max_size": 268435488,
        "type": "disk",
        "when_full": "block"
      },
      "address": "192.168.0.1:9000",
      "encoding": {
        "codec": "json",
        "timestamp_format": "rfc3339"
      },
      "mode": "tcp",
      "tls": {
        "ca_file": "-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgIUSmTpJQESJpl0n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lre6ny\nhsb7LkV9afhzHzWueg+DtO/UHxDXZECKSHr1DaPwibco9Y24tmmPcWt6WU845FTF\nwUZesWH9+29KlqGXTfB0rxNVkcXj7IG5yL0r9cJPDVQGsFrd4QvoSLI1AoGBAKGw\nSn7b5IhOrULtyOYyiiypxfdNuMJa4lvyT5PGr0vQqaEKfLIyOV7x8AAmirzqDGdT\n/aw5viMAX/KrrORjMnpAufdkviEJX6LVvhsmoDOcWuOvOE5e3HAXgJjMvUoMTyN6\nsdURYwSdCSyPyJygJ228iPY3986ZgFUSTdeihwLdAoGAOjGd45RkSeMjJnhJJkj5\nGElkOkzx+Ao720WC9Fh0wOU3xABrp/mYqyqoftJcJiZx93aIr/V9jHC0jWuuuSqF\n1w+pQws9UWwZ+K4LYdc/NzxIdQ1tJbtwc7bkTI96Rn1rfvLsR7+oKKMeQSDoGQWa\nGZREgFbmcvHckfWfWdXqTFc=\n-----END PRIVATE KEY-----\n",
        "verify_hostname": true,
        "verify_certificate": true,
        "enabled": true
      },
      "keepalive": {
        "time_secs": 7200
      }
    }
  }
}
